cmake_minimum_required(VERSION 3.10)

project(threadPool)

set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/install)

include_directories(include)

add_library(threadPool SHARED src/threadPool.cpp)

install(TARGETS
threadPool
    ARCHIVE DESTINATION lib
    LIBRARY DESTINATION lib
    RUNTIME DESTINATION bin
)